<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="app">
<child :cmovies="movies"></child>

    </div>


<template id="child">
    <div>
        <ul>
            <li v-for="item in cmovies">{{item}}</li>
        </ul>
    </div>
</template>

<script src="../vue.js"></script>
    <script>

        const app = new new Vue({
            el:'.app',
            data:{
                movies:['1','2','3','4','5']
            },
            components: {
                'child':{
                    template:'#child',
                    props: ['cmovies']
                }
            }
        })


    </script>


    
</body>
</html>